package com.restkeeper.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;
import java.io.Serializable;

/**
 * 抖音商户配置表(DyMerchant)实体类
 *
 * @author makejava
 * @since 2025-05-17 17:20:19
 */
@Data
public class DyMerchant implements Serializable {
    private static final long serialVersionUID = 386919495961968222L;
    /**
     * 用户ID，主键
     */
    private Long id;
    /**
     * 抖音名称
     */
    private String dyCode;
    /**
     * 抖音名称
     */
    private String dyName;
    /**
     * 抖音唯一标识
     */
    private String openid;
    /**
     * 抖音账号二维码
     */
    private String qmCode;
    /**
     * 头像URL
     */
    private String avatarUrl;
    /**
     * 账号状态：0-禁用，1-正常
     */
    private Integer status;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;
}

